package br.edu.ufcg.ga.output;

import java.util.ArrayList;
import java.util.List;

public class FullOutputInfo implements OutputInfo {

	/**
	 * A list of best fitness for each generation.
	 */
	private List<Double> bestFitnessValues;

	public FullOutputInfo() {
		this.bestFitnessValues = new ArrayList<Double>();
	}

	@Override
	public void add(double bestFitnessValue) {
		this.bestFitnessValues.add(bestFitnessValue);
	}

	public List<Double> getBestFitnessValues() {
		return bestFitnessValues;
	}

}
